FROM openjdk:8u121-jre-alpine

WORKDIR /app

COPY ./sentinel-dashboard-1.8.1.jar /app/sentinel-dashboard-1.8.1.jar

EXPOSE 9002

CMD ["java", "-Dserver.port=9002","-Dcsp.sentinel.dashboard.server=192.168.50.7:9002","-Dproject.name=sentinel-dashboard","-jar", "sentinel-dashboard-1.8.1.jar"]
